﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 角色表
    /// </summary>
    [Table("T_Role")]
    public class Role:BaseEntity
    {
        /// <summary>
        /// 角色编码
        /// </summary>
        [MaxLength(60)]
        public string RoleCode { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [MaxLength(60)]
        public string RoleName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(60)]
        public string Remark { get; set; }
        /// <summary>
        /// 排序编号
        /// </summary>
        public int? DisplayOrder { get; set; }
        /// <summary>
        /// 状态：0-禁用；1-正常
        /// </summary>
        public int? Status { get; set; }  
    }
}
